let View = require("View")

class NoticeView extends View
{
    open()
    {
        this.bindTouchEvent(this.mRoot, '1.sure', 
            () =>{
                
                this.mViewMan.pop(this)
            },
            'close_view'
        ) 

        let t = this.find('1.1.1.t')
        if (t)
        {
            t = t.getComponent(cc.RichText)

            require('NetProtocol').notice(
                ()=>{

                    //t.string = 
                }
            )
        }
        this.playSound('openView')
    }
}

export default NoticeView
